package com.sky.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@ApiModel("菜品分类传递数据模型")
@NoArgsConstructor
@AllArgsConstructor
public class CategoryDTO implements Serializable {
    @ApiModelProperty("菜品Id")
    //主键
    private Long id;
    @ApiModelProperty("菜品类别")
    //类型 1 菜品分类 2 套餐分类
    private Integer type;
    @ApiModelProperty("菜名")
    //分类名称
    private String name;
    @ApiModelProperty("菜品排序")
    //排序
    private Integer sort;

}
